Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.theme.nuxeo.default--applications

This contribution is part of XML component org.nuxeo.theme.nuxeo.default inside nuxeo-platform-webapp-core-6.0.jar

Extension Point

Extension point applications of component ThemeService.

Contributed Items

  • <application root="/nuxeo" template-engine="jsf-facelets">
    
          <negotiation>
            <strategy>nuxeo5</strategy>
            <default-engine>default</default-engine>
            <default-theme>galaxy/default</default-theme>
            <default-perspective>default</default-perspective>
            <!-- TODO default collection/flavor... -->
          </negotiation>
    
          <!-- Cache control for theme resources (/nxthemes-lib/) -->
          <resource-caching>
            <lifetime>36000</lifetime>
          </resource-caching>
    
          <!-- Cache control for theme styles (/nxthemes-css/) -->
          <style-caching>
            <lifetime>900</lifetime>
          </style-caching>
    
          <view id="/create_relation_search_document_popup.xhtml">
            <theme>galaxy/popup</theme>
          </view>
          <view id="/dndFormCollector.xhtml">
            <theme>galaxy/popup</theme>
          </view>
          <view id="/editor_link_search_document.xhtml">
            <theme>galaxy/popup</theme>
          </view>
          <view id="/editor_image_upload.xhtml">
            <theme>galaxy/popup</theme>
          </view>
    
          <view id="/info_view.xhtml">
            <theme>galaxy/popup</theme>
          </view>
    
        </application>

XML Source

<extension point="applications" target="org.nuxeo.theme.services.ThemeService">

    <application root="/nuxeo" template-engine="jsf-facelets">

      <negotiation>
        <strategy>nuxeo5</strategy>
        <default-engine>default</default-engine>
        <default-theme>galaxy/default</default-theme>
        <default-perspective>default</default-perspective>
        <!-- TODO default collection/flavor... -->
      </negotiation>

      <!-- Cache control for theme resources (/nxthemes-lib/) -->
      <resource-caching>
        <lifetime>36000</lifetime>
      </resource-caching>

      <!-- Cache control for theme styles (/nxthemes-css/) -->
      <style-caching>
        <lifetime>900</lifetime>
      </style-caching>

      <view id="/create_relation_search_document_popup.xhtml">
        <theme>galaxy/popup</theme>
      </view>
      <view id="/dndFormCollector.xhtml">
        <theme>galaxy/popup</theme>
      </view>
      <view id="/editor_link_search_document.xhtml">
        <theme>galaxy/popup</theme>
      </view>
      <view id="/editor_image_upload.xhtml">
        <theme>galaxy/popup</theme>
      </view>

      <view id="/info_view.xhtml">
        <theme>galaxy/popup</theme>
      </view>

    </application>
  </extension>